@import '../../../index.scss';



.container {

  .tabber {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    background-color: #fff;

    .fixed {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 999;
      height: 100rpx;
      background-color: #fff;
      z-index: 999;
    }


    .scroll-view {
      box-sizing: border-box;
      width: 100vw;

      .topScol {
        // display: flex;
        white-space: nowrap;
        // background-color: red;
        // height: 100rpx;
        padding: 20rpx 0;
        padding-left: 10rpx;
        border-bottom: 1px solid #f8f8f8;

        .tabber-list {
          padding: 0 24rpx;
          color: #888;
          display: inline-block;
          text-align: center;
          white-space: nowrap;
          font-size: 28rpx;

          // margin-right: 10rpx;
          .split {
            width: 30rpx;
            height: 6rpx;
            margin: 0 auto;
            border-radius: 100px;
            margin-top: 4rpx;
          }

          &.active {
            font-weight: bold;
            color: #333;

            .split {
              background-color: $primary-color;
            }
          }
        }
      }


    }
  }

  .topics {
    padding-bottom: 40rpx;

    .item {
      display: flex;
      align-items: center;
      padding: 20rpx;
      border-bottom: 1px solid #f8f8f8;
  

      &:last-child {
        border: none;
      }

      .avatar {
        width: 100rpx;
        height: 100rpx;
        border-radius: 8rpx;
        overflow: hidden;
        margin-right: 20rpx;
        background-color: #f8f8f8;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .cont {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 100rpx;

        .title {
          font-size: 28rpx;
          color: #444;
        }

        .num {
          font-size: 22rpx;
          color: #787878;
        }
      }
    }
  }
}